﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication1
{
    public partial class d : System.Web.UI.Page
    {
        string deptID;
        protected void Page_Load(object sender, EventArgs e)
        {
            deptID = Request["i"].Trim().ToString();
        }

        protected void Button2_Click(object sender, EventArgs e)
        {
            string TSKflag = Guid.NewGuid().ToString();
            MedEq m = new MedEq();
            string dsc = dscr.Value.ToString();
            string eqname = EQName.Value.ToString();
            dsc.Replace(" ", "");
            m.Add_Task(TSKflag, "000000", "*" + eqname + "*" + dsc, "无", "426", DateTime.Now.ToLocalTime().ToString(), "无", "478", "等待回应", "0", "0", "0", deptID, "1", "维修", "0");



            Response.Redirect("http://www.cmu4h.site/Result.aspx?i=" + "000000"
           , false);

        }
    }
}